package com.wg.web_app.domin;

import com.wg.web_app.dao.table.TableNumber;

public class TableNumberBuilder {
	private Integer id;
	private String number,tag;
	
	
	public TableNumber build(){
		TableNumber data = new TableNumber();
		data.setId(id);
		data.setNumber(number);
		data.setTag(tag);
		return data;
	}
	
	public TableNumberBuilder id(int id){
		this.id = id;
		return this;
	}
	
	public TableNumberBuilder tag(String tag){
		this.tag = tag;
		return this;
	}
	public TableNumberBuilder number(String number){
		this.number = number;
		return this;
	}
}
